using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Runtime.Serialization;

namespace KPIS.GERP.Models.ACM
{
    [DataContract, Table("AcmMasFiscalPeriod")]
    public class MasFiscalPeriod
    {
        [Key]
		[DataMember, Display(Name = "FiscalPeriod", ResourceType = typeof(Resources.MasFiscalPeriodResource))]
        public int FiscalPeriod { get; set; }

		[DataMember, Display(Name = "FiscalPeriodCode", ResourceType = typeof(Resources.MasFiscalPeriodResource))]
        public string FiscalPeriodCode { get; set; }

		[DataMember, Display(Name = "FiscalPeriodName", ResourceType = typeof(Resources.MasFiscalPeriodResource))]
        public string FiscalPeriodName { get; set; }

		[DataMember, Display(Name = "FiscalPeriodRemark", ResourceType = typeof(Resources.MasFiscalPeriodResource))]
        public string FiscalPeriodRemark { get; set; }

		[DataMember, Display(Name = "FiscalStartDate", ResourceType = typeof(Resources.MasFiscalPeriodResource))]
        public Nullable<System.DateTime> FiscalStartDate { get; set; }

		[DataMember, Display(Name = "FiscalEndDate", ResourceType = typeof(Resources.MasFiscalPeriodResource))]
        public Nullable<System.DateTime> FiscalEndDate { get; set; }



        #region RecordStatus

        [DataMember, Display(Name = "RecordStatus", ResourceType = typeof(SYS.Resources.RecordStatusResource))]
        public string RecordStatus { get; set; }

        [DataMember, Display(Name = "CreatedBy", ResourceType = typeof(SYS.Resources.RecordStatusResource))]
        public Nullable<int> CreatedBy { get; set; }

        [DataMember, Display(Name = "CreatedWhen", ResourceType = typeof(SYS.Resources.RecordStatusResource))]
        public Nullable<System.DateTime> CreatedWhen { get; set; }

        [DataMember, Display(Name = "UpdatedBy", ResourceType = typeof(SYS.Resources.RecordStatusResource))]
        public Nullable<int> UpdatedBy { get; set; }

        [DataMember, Display(Name = "UpdatedWhen", ResourceType = typeof(SYS.Resources.RecordStatusResource))]
        public Nullable<System.DateTime> UpdatedWhen { get; set; }

        #endregion

    }
}